package com.pmsystem.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Parking {
    private Integer parkingBillId;
    
    private Date parkingStartTime;
    
    private Date parkingEndTime;

    private Byte isPay;

    private Integer parkingArea;

    private String carlicense;

    private Float cash;

    private Byte enable;

    public Integer getParkingBillId() {
        return parkingBillId;
    }

    public void setParkingBillId(Integer parkingBillId) {
        this.parkingBillId = parkingBillId;
    }

    public Date getParkingStartTime() {
        return parkingStartTime;
    }

    public void setParkingStartTime(Date parkingStartTime) {
        this.parkingStartTime = parkingStartTime;
    }

    public Date getParkingEndTime() {
        return parkingEndTime;
    }

    public void setParkingEndTime(Date parkingEndTime) {
        this.parkingEndTime = parkingEndTime;
    }

    public Byte getIsPay() {
        return isPay;
    }

    public void setIsPay(Byte isPay) {
        this.isPay = isPay;
    }

    public Integer getParkingArea() {
        return parkingArea;
    }

    public void setParkingArea(Integer parkingArea) {
        this.parkingArea = parkingArea;
    }

    public String getCarlicense() {
        return carlicense;
    }

    public void setCarlicense(String carlicense) {
        this.carlicense = carlicense == null ? null : carlicense.trim();
    }

    public Float getCash() {
        return cash;
    }

    public void setCash(Float cash) {
        this.cash = cash;
    }

    public Byte getEnable() {
        return enable;
    }

    public void setEnable(Byte enable) {
        this.enable = enable;
    }

	@Override
	public String toString() {
		return "Parking [parkingBillId=" + parkingBillId + ", parkingStartTime=" + parkingStartTime
				+ ", parkingEndTime=" + parkingEndTime + ", isPay=" + isPay + ", parkingArea=" + parkingArea
				+ ", carlicense=" + carlicense + ", cash=" + cash + ", enable=" + enable + "]";
	}
    
}